import {get, post} from "../utils/request"

// 订单提交
export const addorder = (data) => post("/api/v1/orders", data)

// 获取订单列表
export const getorder = (params) => get("/api/v1/orders", params)

// 收获地址新增
export const addaddress = (params) => post("/api/v1/addresses", params)

// 获取单条收获地址
export const getaddress = (id) => get("/api/v1/addresses/" + id)



